package com.ruoyi.classai.service;

import com.ruoyi.classai.domain.EwcLessonPreparationRelation;
import com.baomidou.mybatisplus.extension.service.IService;
import com.ruoyi.classai.domain.dto.ModuleLessonPreparationModificationDto;
import com.ruoyi.classai.domain.dto.PublicIdQueryInterfaceDto;
import com.ruoyi.common.core.web.domain.AjaxResult;

/**
 * 备课关联Service接口
 * 
 * @author lcj
 * @date 2025-02-28
 */
public interface IEwcLessonPreparationRelationService extends IService<EwcLessonPreparationRelation> {
    EwcLessonPreparationRelation ewcLessonPreparationRelation = new EwcLessonPreparationRelation();

    AjaxResult saveOne(PublicIdQueryInterfaceDto publicIdQueryInterfaceDto);

    boolean deleteOne(PublicIdQueryInterfaceDto publicIdQueryInterfaceDto);

    boolean updateState(PublicIdQueryInterfaceDto publicIdQueryInterfaceDto);

    void updateStateWithModuleCode(ModuleLessonPreparationModificationDto moduleLessonPreparationModificationDto);
}
